package georah.map.layers
{

	import flash.geom.Rectangle;

	/**
	 *
	 * @author yuanm
	 */
	public class ImageLayerEvent extends MapLayerEvent
	{

		public static const LOAD:String="imageLayerLoad";

		public static const LOAD_FAULT:String="imageLayerLoadFault";

		public static const LOAD_RESULT:String="imageLayerLoadResult";

		public function ImageLayerEvent(type:String, text_:String="")
		{
			super(type);

			switch (type)
			{
				case ImageLayerEvent.LOAD:
				case ImageLayerEvent.LOAD_RESULT:
				case ImageLayerEvent.LOAD_FAULT:
					_text=text_;
					break;
			}
		}

		private var _text:String="";

		public final function get text():String
		{
			return _text;
		}

	}
}
